package com.chushouya.order.service.admin;

import com.alipay.api.response.AlipayOpenAppMiniTemplatemessageSendResponse;

/**
 * 支付宝订阅消息服务接口
 * 
 * @author chushouya
 * @date 2025-09-11
 */
public interface AlipaySubscribeService {

    /**
     * 处理支付宝订阅消息
     * 
     * @param orderId 订单ID
     * @return AlipayOpenAppMiniTemplatemessageSendResponse
     */
    AlipayOpenAppMiniTemplatemessageSendResponse processSubscribeMessage(Long orderId);

    /**
     * 发送下单成功订单状态通知
     * 
     * @param orderId 订单ID
     * @return AlipayOpenAppMiniTemplatemessageSendResponse
     */
    AlipayOpenAppMiniTemplatemessageSendResponse sendOrderSuccessNotify(Long orderId);

    /**
     * 发送回收服务取消通知
     * 
     * @param orderId 订单ID
     * @return AlipayOpenAppMiniTemplatemessageSendResponse
     */
    AlipayOpenAppMiniTemplatemessageSendResponse sendRecycleCancelNotify(Long orderId);

    /**
     * 发送回收金额已到账通知
     * 
     * @param orderId 订单ID
     * @return AlipayOpenAppMiniTemplatemessageSendResponse
     */
    AlipayOpenAppMiniTemplatemessageSendResponse sendPaymentReceivedNotify(Long orderId);
}
